/*
 * Project: Sudoku Explainer
 * Copyright (C) 2006-2007 Nicolas Juillerat
 * Available under the terms of the Lesser General Public License (LGPL)
 */
package humanAlgorithm;

import humanAlgorithm.Grid.Region;

/**
 * Hidden Single hint
 */
public class HiddenSingleHint extends DirectHint {

    // private final boolean isAlone; // Last empty cell in a region

    public HiddenSingleHint(DirectHintProducer rule, Region region, Cell cell,
            int value, boolean isAlone) {
        super(rule, region, cell, value);
        // this.isAlone = isAlone;
    }

    // public double getDifficulty() {
    // if (isAlone)
    // return 1.0;
    // else if (getRegion() instanceof Grid.Block)
    // return 1.2;
    // else
    // return 1.5;
    // }

    public String getName() {
        return "Hidden Single";
    }

    // public String getClueHtml(boolean isBig) {
    // if (isBig) {
    // return "Look for a " + getName() + " in the <b1>"
    // + getRegion().toFullString() + "</b1>";
    // } else {
    // return "Look for a " + getName();
    // }
    // }

    @Override
    public String toString() {
        // return getName() + ": " + super.toString();
        return "not impl.";
    }

    @Override
    public String toHtml() {
        // String result;
        // if (isAlone)
        // result = HtmlLoader.loadHtml(this, "Single.html");
        // else
        // result = HtmlLoader.loadHtml(this, "HiddenSingleHint.html");
        // return HtmlLoader.format(result, super.getCell().toString(),
        // Integer.toString(super.getValue()),
        // super.getRegions()[0].toString());
        return "not impl.";
    }

}
